@import url(normalize.css);
@import url(public.css);
@import url(color.css);
@import url(headFooter.css);
@import url(input.css);

form {
    width: 540px;
    margin-left: 100px;
    margin-top: 30px;
}

form table tr td {
    position: relative;
    padding: 0 5px;
    line-height: 50px;
}

form table tr td:nth-child(1) {
    text-align: right;
}

form table tr td:nth-child(3) {
    font-size: 14px;
    color: var(--b-gray-1);
}

form .me-in-btn {
    position: relative;
    width: 180px;
    height: 35px;
    cursor: pointer;
    transition: all .2s;
    background-color: var(--b-gray);
    display: flex;
    border-radius: 5px;
}

form input[type="button"] {
    height: 100%;
    width: 100%;
    background-color: transparent;
    cursor: pointer;
}

form .me-in-btn:hover::after {
    position: absolute;
    content: "";
    height: 100%;
    background: var(--b-main-1);
    color: var(--b-white);
    transition: all .2s;
    animation: LeftToRight .2s ease-in-out forwards;
    border-radius: 5px;
}

form .me-in-btn:hover input[type="button"] {
    z-index: 1;
    color: var(--b-white);
}

@keyframes LeftToRight {
    0% {
        right: 50%;
        left: 50%;
    }

    100% {
        right: 0;
        left: 0;
    }
}

form input[type="submit"] {
    padding: 0;
    width: 250px;
    background: linear-gradient(to right, var(--b-main-1), var(--b-main-2));
    color: var(--b-white);
    cursor: pointer;
}

form table tr td span {
    color: var(--b-red);
    margin: 0 5px;
}

form table tr td#identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

form table tr td#identity div {
    position: relative;
    color: var(--b-black-5);
    transition: all .1s;
}

td#identity div label {
    cursor: pointer;
}

td#identity div label span {
    margin: 0 0 0 25px;
    color: var(--b-black-5);
    user-select: none;
}

form table tr td#identity div::after {
    position: absolute;
    content: "";
    top: 15px;
    left: 0px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--b-gray-1);
    border-radius: 50%;
    z-index: -2;
}

form input[type="radio"]:checked+i {
    position: absolute;
    top: 15px;
    left: 0px;
    width: 20px;
    height: 20px;
    border-radius: 15px;
    background: var(--b-main);
    z-index: -1;
}

form input[type="radio"]:checked+i::after,
form input[type="radio"]:checked+i::before {
    position: absolute;
    content: "";
    height: 3px;
    border-radius: 2px;
    background: var(--b-white);
}

form input[type="radio"]:checked+i::after {
    top: 12px;
    left: 2px;
    transform: rotate(45deg);
    animation: .2s checked ease-in forwards;
}

form input[type="radio"]:checked+i::before {
    top: 10px;
    right: 0;
    transform: rotate(-45deg);
    animation: .2s check ease-in forwards;
}

@keyframes check {
    0% {
        width: 0;
    }

    100% {
        width: 15px
    }
}

@keyframes checked {
    0% {
        width: 0;
    }

    100% {
        width: 8px
    }
}

form input[type="radio"] {
    display: none;
}

form table tr td a {
    color: var(--b-main);
}

form table tr td a:nth-child(1) {
    margin-right: 20px;
}